﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="invoice.aspx.cs" Inherits="invoice" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
            background-image:
        }
         .style3Dp
        {
            width: 249px;
            padding-left:90px;       
        }
        .style6
        {
            width: 322px;
            text-decoration: underline;
        }
        .style10
        {
            width: 523px;
            text-align: left;
             font-size:large;
        }
        .style11
        {
            width: 1396px;
            text-align: left;
        }
        .style13
        {
            text-align: right;
        }
        .style14
        {
            width: 317px;
        }
         .style16
        {
            width: 358px;
            padding-left: 90px;
            font-size:small;
        }
        .style17
        {
            width: 358px;
        }
         .stylefot
        {
            text-align: center;
        }
         .style21
        {
            width: 868px;
        }
         .style22
        {
            width: 1630px;
            text-align: right;
            font-size:small;
        }
         .style23
        {
            width: 210px;
            text-align: right;
        }
        .style24
        {
            width: 823px;
            text-align: right;
        }
        .style29
        {
            width: 1194px;
            text-align: left;
            font-size:small;
        }
        .style30
        {
        }
        .style31
        {
            width: 1030px;
             font-size: small;
        }
        .style34
        {
            width: 1472px;
            text-align: left;
            font-size: small;
        }
         </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table class="style1">
            <tr>
                <td class="style18" colspan="6">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/img/Cart/header.png" 
                        Width="100%" />
                </td>
                    
            </tr>
            <tr>
                <td class="style18" colspan="5">
    <h2 style="text-align:center">SALES INVOICE</h2>
                </td>
                    
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style18" colspan="2">
                    &nbsp;</hr></td>
                    
                <td class="style21">
                    &nbsp;</td>
                <td class="style16">
                    Invoice No</td>
                <td class="style3Dp">
                    <asp:Label ID="InvNo" runat="server" Font-Size="Small"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style18" colspan="2">
                    &nbsp;</td>
                    
                <td class="style21">
                    &nbsp;</td>
                <td class="style16">
                    Date</td>
                <td class="style3Dp">
                    <asp:Label ID="Date" runat="server" Font-Size="Small"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style6" colspan="2">
                    Customer Details</td>
                <td class="style21">
                    &nbsp;</td>
                <td class="style16">
                    &nbsp;</td>
                <td class="style3Dp">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style31">
                    Customer No&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                <td class="style30" colspan="2">
                    <asp:Label ID="ID" runat="server" Font-Size="Small"></asp:Label>
                </td>
                <td class="style17">
                    &nbsp;</td>
                <td class="style14">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style31">
                    Customer
                    Name&nbsp;&nbsp;&nbsp;&nbsp; </td>
                <td class="style18" colspan="3">
                    <asp:Label ID="Name" runat="server" Font-Size="Small"></asp:Label>
                </td>
                <td class="style14">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            </table>
        <br />
    <p>
    <asp:GridView ID="GridView1" 
            runat="server" BackColor="#CCCCCC" BorderColor="#999999" BorderStyle="Solid" 
            BorderWidth="3px" CellPadding="4" Font-Size="Small" ForeColor="Black" 
            Width="100%" CaptionAlign="Left" CellSpacing="2" HorizontalAlign="Justify">
        <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" 
            BorderColor="Black" BorderStyle="Solid" BorderWidth="2px" 
            HorizontalAlign="Left" Font-Size="Small" />
        <PagerStyle BackColor="#CCCCCC" ForeColor="Black" HorizontalAlign="Left" />
        <RowStyle BackColor="White" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        
       </p>
    </div>
    
    <table class="style1">
        <tr>
            <td class="style29">
                Total PV</td>
            <td class="style23">
                <asp:Label ID="totpv" 
                    runat="server" Font-Size="Small"></asp:Label>
            </td>
            <td class="style11">
                &nbsp;</td>
            <td class="style24">
                &nbsp;</td>
            <td class="style22">
                &nbsp;</td>
            <td class="style34">
                Total Retail Price</td>
            <td class="style10">
                <asp:Label 
                    ID="Label1" runat="server" Text="Label" Font-Size="Small"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style29">
                Total BV </td>
            <td class="style23">
                <asp:Label ID="totbv" 
                    runat="server" Font-Size="Small"></asp:Label>
            </td>
            <td class="style11">
                &nbsp;</td>
            <td class="style24">
                &nbsp;</td>
            <td class="style22">
                &nbsp;</td>
            <td class="style34">
                Total Discount</td>
            <td class="style10">
                <asp:Label ID="Label3" runat="server" Text="Label" Font-Size="Small"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style29">
                Total Quantity</td>
            <td class="style23">
                <asp:Label ID="Label2" runat="server" Text="Label" Font-Size="Small"></asp:Label>
            </td>
            <td class="style11">
                &nbsp;</td>
            <td class="style24">
                &nbsp;</td>
            <td class="style22">
                &nbsp;</td>
            <td class="style34">
                Total Price</td>
            <td class="style10">
                <asp:Label ID="TotAmount" runat="server" Font-Bold="True" Font-Size="Small"></asp:Label>
            </td>
        </tr>
    </table>
    <br/>

    <table class="style1">
        <tr>
            <td class="classborder">
                &nbsp;</td>
            <td class="classborder">
                &nbsp;</td>
            <td class="style13">
                ................................</td>
        </tr>
        <tr>
            <td class="classborder">
                <asp:Button ID="Button1" runat="server" onclick="Button1_Click" /></td>
            <td class="classborder">
                &nbsp;</td>
            <td class="style13">
                Cashier</td>
        </tr>
        <tr>
            <td class="classborder">
                &nbsp;</td>
            <td class="classborder">
                &nbsp;</td>
            <td class="style13">
                <asp:Label ID="cashier" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="stylefot" colspan="3">
                <strong><em>&quot;Thank You Come Again&quot;</em></strong></td>
        </tr>
    </table>

    </form>
</body>
</html>
